package com.jx.gocomtask.webservice.entity.base;

import com.jx.gocomtask.webservice.DTO.GroupPostMessage;
import com.jx.gocomtask.webservice.DTO.StatusMessage;
import com.jx.gocomtask.webservice.entity.ExtTaskMessage;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;


public class ExtTaskMessageBase implements Serializable{
	/**
	 * @Description: 
	 */
	private static final long serialVersionUID = 1L;
	//private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(ExtTaskMessageBase.class);
	private StatusMessage statusMessage;
	private GroupPostMessage postMessage;
	private String role="normal";
	private boolean old=false;
	private String android;
	private String ios;
	private String url;
	private String fromUserTrueName;
	private String groupName;
	private String userId;
	private Integer isRelation = 0;
	private Long relationCount = 0L;
	private List<ExtTaskMessage> messageList = new LinkedList(); //相关任务

	private String extTaskUserName;
	public StatusMessage getStatusMessage() {
		return statusMessage;
	}
	public void setStatusMessage(StatusMessage statusMessage) {
		this.statusMessage = statusMessage;
	}
	public GroupPostMessage getPostMessage() {
		return postMessage;
	}
	public void setPostMessage(GroupPostMessage postMessage) {
		this.postMessage = postMessage;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public boolean isOld() {
		return old;
	}
	public void setOld(boolean old) {
		this.old = old;
	}
	public String getAndroid() {
		return android;
	}
	public void setAndroid(String android) {
		this.android = android;
	}
	public String getIos() {
		return ios;
	}
	public void setIos(String ios) {
		this.ios = ios;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getFromUserTrueName() {
		return fromUserTrueName;
	}
	public void setFromUserTrueName(String fromUserTrueName) {
		this.fromUserTrueName = fromUserTrueName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getExtTaskUserName() {
		return extTaskUserName;
	}

	public void setExtTaskUserName(String extTaskUserName) {
		this.extTaskUserName = extTaskUserName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public List<ExtTaskMessage> getMessageList() {
		return messageList;
	}

	public void setMessageList(List<ExtTaskMessage> messageList) {
		this.messageList = messageList;
	}

	public Integer getIsRelation() {
		return isRelation;
	}

	public void setIsRelation(Integer isRelation) {
		this.isRelation = isRelation;
	}

	public Long getRelationCount() {
		return relationCount;
	}

	public void setRelationCount(Long relationCount) {
		this.relationCount = relationCount;
	}
}
